#ifndef PASSWORDCHECKDIALOG_H
#define PASSWORDCHECKDIALOG_H

#include <QDialog>

namespace Ui {
class PasswordCheckDialog;
}

class PasswordCheckDialog : public QDialog
{
    Q_OBJECT

public:
    explicit PasswordCheckDialog(QWidget *parent = 0);
    ~PasswordCheckDialog();
    bool getPassWordCheckResult();
    bool isDialogFinished();
    int setCorrectPassword(QString passwordIn);


private slots:
    void on_pushButton_clicked();

    void on_pushButton_2_clicked();


private:
    QString correctPassword;
    Ui::PasswordCheckDialog *ui;
    bool isPasswordOk;
    bool isCheckFinished;
};

#endif // PASSWORDCHECKDIALOG_H
